package demo12;

class OuterClass{
    public int data1 = 11;
    private int data2 = 2;
    public static int data3 = 3;

    class InnerClass{
        public int data1 = 111;
        private int data5 = 5;
        public static final int data6 = 6;

        public void fun(){
            System.out.println(OuterClass.this.data1);
        }
    }
}
public class Test {
    public static void main(String[] args) {
        OuterClass outerClass = new OuterClass();
        OuterClass.InnerClass innerClass = outerClass.new InnerClass();
        innerClass.fun();
    }
}
